package cn.asterly.cicada.service;

import cn.asterly.cicada.model.Menu;
import cn.asterly.cicada.model.Permission;
import cn.asterly.cicada.service.base.IBaseService;

import java.util.List;

public interface IPermissionService<T>  {
    List<T> selByAll();

    boolean deleteByPrimaryKey(Long id);

    boolean insert(T record);

    boolean insertSelective(T record);

    T selectByPrimaryKey(Long id);

    boolean updateByPrimaryKeySelective(T record);

    boolean updateByPrimaryKey(T record);
}
